package cn.stylefeng.guns.modular.financial.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.financial.entity.FinancialIncomeMatching;
import cn.stylefeng.guns.modular.financial.model.params.FinancialIncomeMatchingParam;
import cn.stylefeng.guns.modular.financial.model.result.FinancialIncomeMatchingResult;
import cn.stylefeng.roses.core.reqres.response.ResponseData;

import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 收入匹配管理表 服务类
 * </p>
 *
 * @author zhucx
 * @since 2024-03-27
 */
public interface FinancialIncomeMatchingService extends IService<FinancialIncomeMatching> {

    /**
     * 新增
     *
     * @author zhucx
     * @Date 2024-03-27
     */
    void add(FinancialIncomeMatchingParam param);

    /**
     * 删除
     *
     * @author zhucx
     * @Date 2024-03-27
     */
    void delete(FinancialIncomeMatchingParam param);

    /**
     * 更新
     *
     * @author zhucx
     * @Date 2024-03-27
     */
    void update(FinancialIncomeMatchingParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhucx
     * @Date 2024-03-27
     */
    FinancialIncomeMatchingResult findBySpec(FinancialIncomeMatchingParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhucx
     * @Date 2024-03-27
     */
    List<FinancialIncomeMatchingResult> findListBySpec(FinancialIncomeMatchingParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhucx
     * @Date 2024-03-27
     */
     LayuiPageInfo findPageBySpec(FinancialIncomeMatchingParam param,String condition,Long operateId);

	ResponseData getExceldata(MultipartFile file, FinancialIncomeMatchingParam financialIncomeMatchingParam,
			ResponseData data)throws Exception;

}
